package com.aspose.cells;

class zbli extends zcj {
   zbli(zn var1, float var2, float var3, zbkq var4) {
      super(var1, var2, var3, var4);
      switch(this.e.a) {
      case 1:
      default:
         break;
      case 2:
         com.aspose.cells.b.a.b.a.zi var5 = new com.aspose.cells.b.a.b.a.zi(1.0F, 0.0F, 0.0F, -1.0F, 0.0F, this.e.F().i());
         this.a.b(var5);
         break;
      case 3:
         com.aspose.cells.b.a.b.a.zi var6 = new com.aspose.cells.b.a.b.a.zi(-1.0F, 0.0F, 0.0F, -1.0F, this.e.F().h(), this.e.F().i());
         this.a.b(var6);
         break;
      case 4:
         com.aspose.cells.b.a.b.a.zi var7 = new com.aspose.cells.b.a.b.a.zi(-1.0F, 0.0F, 0.0F, 1.0F, this.e.F().h(), 0.0F);
         this.a.b(var7);
      }

   }

   com.aspose.cells.b.a.b.a.ze a(com.aspose.cells.b.a.b.zq var1) {
      float var2 = var1.f();
      float var3 = var1.g();
      float var4 = var1.h();
      float var5 = var1.i();
      float var6 = 0.0F;
      float var7 = 0.0F;
      float var8 = 0.0F;
      float var9 = 0.0F;
      float var10 = 0.0F;
      float var11 = 0.0F;
      float var12 = 0.0F;
      var6 = var4 * 0.28F;
      var7 = var5 * 0.26F;
      var8 = var4 * 0.28F;
      var9 = var5 * 0.28F;
      var10 = var4 * 0.4F;
      var11 = var5 * 0.36F;
      var12 = var5 * 0.66F;
      if (var8 == 0.0F) {
         var6 = this.e.m().f() / 4.0F;
         var9 = 0.0F;
      }

      com.aspose.cells.b.a.b.a.ze var13 = new com.aspose.cells.b.a.b.a.ze();
      float var14 = var8 - var6 / 2.0F;
      float var15 = var2 + (var4 - var10 - var14);
      float var16 = var10 - var6;
      float var17 = var11 - var7;
      var13.a(var2, var3, var10 * 2.0F, var11 * 2.0F, 180.0F, 90.0F);
      var13.b(var2 + var10, var3, var15, var3);
      var13.a(var15 - var10, var3, 2.0F * var10, 2.0F * var11, 270.0F, 90.0F);
      var13.b(var2 + (var4 - var14), var3 + var11, var2 + (var4 - var14), var3 + (var12 - var9));
      var13.b(var2 + (var4 - var14), var3 + (var12 - var9), var2 + var4, var3 + (var12 - var9));
      var13.b(var2 + var4, var3 + (var12 - var9), var2 + (var4 - var8), var3 + var12);
      var13.b(var2 + (var4 - var8), var3 + var12, var2 + var4 - 2.0F * var8, var3 + (var12 - var9));
      var13.b(var2 + var4 - 2.0F * var8, var3 + (var12 - var9), var2 + (var4 - 2.0F * var8) + var14, var3 + (var12 - var9));
      var13.a(var15 - var16, var3 + var7, 2.0F * var16, 2.0F * var17, 0.0F, -90.0F);
      var13.a(var2 + var6, var3 + var7, 2.0F * var16, 2.0F * var17, 270.0F, -90.0F);
      var13.b(var2 + var6, var3 + var10, var2 + var6, var3 + var5);
      var13.b(var2 + var6, var3 + var5, var2, var3 + var5);
      var13.b(var2, var3 + var5, var2, var3 + var10);
      var13.i();
      return var13;
   }
}
